<template>
  <div>
    <ZgDialog
      :width="view.width"
      :top="view.top"
      :title="view.title"
      :showFooter="view.showFooter"
      v-model="visible"
    >
      <div v-if="initLoading">
        正在初始化配置数据...
      </div>
      <div v-else>
        <a-card :bordered="false">
          <a-result status="warning" :title="result.title" :sub-title="result.description">
            <template #extra>
              <a-button type="primary">是的</a-button>

            </template>

          </a-result>
        </a-card>
      </div>
    </ZgDialog>
  </div>
</template>
<script>

export default {

  data () {
    return {
      visible: false,
      hasInit: true,
      initLoading: false,
      view: {
        width: '1100px',
        top: '5%',
        title: '',
        showFooter: false
      },
      result: {
        title: '请选择数据行！',
        description: '请选择两条以上的数据哦！'
      }

    }
  },
  methods: {
    open () {
      this.visible = true
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
